package com.deyang.mycommon.entity;

import java.io.Serializable;

/**
  * @data 创建时间: 2018/5/4 0004
  * @author 王德阳
  * @Description    token信息
  * @version
  *
  */
public class TokenInfo extends BaseResponse<TokenInfo> implements Serializable {


    /**
     * access_token : eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZG1pbiIsInVzZXJfbmFtZSI6ImFkbWluIiwic2NvcGUiOlsicmVhZCJdLCJleHBpcmUiOjE1MjUzOTc4NjUwNDgsImV4cCI6MTUyNTQwODY2NSwiZGVwYXJ0Ijoicm9vdCIsInVzZXJOYW1lIjoiTXIuQUciLCJ1c2VySWQiOiIxIiwiYXV0aG9yaXRpZXMiOlsiUk9MRV9VU0VSIl0sImp0aSI6IjQ5N2Y2N2QyLTRkMWQtNDc5MC1iODk5LWQ2YTNlY2I5OGMxZCIsInRlbmFudCI6ImFjODhjZWIzODZhYTQyMzFiMDliZjQ3MmNiOTM3YzI0IiwiY2xpZW50X2lkIjoidnVlIn0.czq1cKcW1mnhbYRi5M_Z5UHhqYr_gutHM3PbUEn0_skgcCSfa0u6P7AeRBi2KCOE358z-Lgov3kTVTe37B15YDOTPN7T8GJQgsdP1C2XiulGelsiTVAFiwygrtz1NIIwwVnSP7OCeRyXKwosZq7XPapm0EQ-jI8aO8mt-tKhYWs
     * token_type : bearer
     * refresh_token : eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZG1pbiIsInVzZXJfbmFtZSI6ImFkbWluIiwidXNlck5hbWUiOiJNci5BRyIsInVzZXJJZCI6IjEiLCJhdXRob3JpdGllcyI6WyJST0xFX1VTRVIiXSwiY2xpZW50X2lkIjoidnVlIiwic2NvcGUiOlsicmVhZCJdLCJleHBpcmUiOjE1MjUzOTc4NjUwNDgsImF0aSI6IjQ5N2Y2N2QyLTRkMWQtNDc5MC1iODk5LWQ2YTNlY2I5OGMxZCIsImV4cCI6MTUyNTU3NTIxNywiZGVwYXJ0Ijoicm9vdCIsImp0aSI6IjRiYzBhNTgwLTBiMDYtNDU0ZS05YWE0LTFkYzFkZDNkYjZmMyIsInRlbmFudCI6ImFjODhjZWIzODZhYTQyMzFiMDliZjQ3MmNiOTM3YzI0In0.pfk0iUvCjDZYlQUaIBLn2wSqVygYKbBOKMkIx1UV6nHzqHq5mnt2DkwJsmgqEPPQCgtAA9tTL9bAxxzuQhM_USaDfGjGNr-WyY0Vyt9RnqSFt5akwkFoP5xjrKDAc8zKQwft1Ckvv4U7qxI1bBSauWsTp5fh_uEmGXkwUgQ_6iI
     * expires_in : 13652
     * scope : read
     * sub : admin
     * expire : 2018-05-04 09:37:45
     * depart : root
     * userName : Mr.AG
     * userId : 1
     * tenant : ac88ceb386aa4231b09bf472cb937c24
     * jti : 497f67d2-4d1d-4790-b899-d6a3ecb98c1d
     */

    private String error;
    private String error_description;

    private String access_token;
    private String token_type;
    private String refresh_token;
    private String expires_in;
    private String scope;
    private String sub;
    private String expire;
    private String depart;
    private String userName;
    private String userId;
    private String tenant;
    private String jti;

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getToken_type() {
        return token_type;
    }

    public void setToken_type(String token_type) {
        this.token_type = token_type;
    }

    public String getRefresh_token() {
        return refresh_token;
    }

    public void setRefresh_token(String refresh_token) {
        this.refresh_token = refresh_token;
    }

    public String getExpires_in() {
        return expires_in;
    }

    public void setExpires_in(String expires_in) {
        this.expires_in = expires_in;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getSub() {
        return sub;
    }

    public void setSub(String sub) {
        this.sub = sub;
    }

    public String getExpire() {
        return expire;
    }

    public void setExpire(String expire) {
        this.expire = expire;
    }

    public String getDepart() {
        return depart;
    }

    public void setDepart(String depart) {
        this.depart = depart;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTenant() {
        return tenant;
    }

    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    public String getJti() {
        return jti;
    }

    public void setJti(String jti) {
        this.jti = jti;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getError_description() {
        return error_description;
    }

    public void setError_description(String error_description) {
        this.error_description = error_description;
    }

}